<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>字体</title>
    <style type="text/css">
        div:nth-child(1) {
            /* rgba()设置，例如：rgba(0,0,0,0)表示黑色完全透明，最后一个选项表示透明度[0~1] */
            color: rgba(0, 0, 0, 0);
        }

        div:nth-child(2) {
            opacity: 0.1; /* 透明度 */
        }

        div:nth-child(3) {
            font-family: "微软简楷体", serif;
        }

        div:nth-child(4) {
            font-size: 50px;
        }

        div:nth-child(5) {
            font-weight: 900;
        }

        div:nth-child(6) {
            font-style: italic;
        }

        div:nth-child(7) {
          
        }
    </style>
</head>
<body>
<div>这是字体样式</div>
<div>这是字体样式</div>
<div>这是字体样式</div>
<div>这是字体样式</div>
<div>这是字体样式</div>
<div>这是字体样式</div>
<div>这是字体样式</div>
</body>
</html>